home *** CD-ROM | disk | FTP | other *** search
/ Champak 141 / (Vol 141) Oct 17 2011.iso / Games / Clueless.swf / scripts / fl / video / VideoProgressEvent.as < prev    next >
Encoding:
Text File  |  2011-10-17  |  912 b   |  36 lines

  1. package fl.video
  2. {
  3.    import flash.events.Event;
  4.    import flash.events.ProgressEvent;
  5.    
  6.    public class VideoProgressEvent extends ProgressEvent implements IVPEvent
  7.    {
  8.       
  9.       public static const PROGRESS:String = "progress";
  10.        
  11.       
  12.       private var _vp:uint;
  13.       
  14.       public function VideoProgressEvent(param1:String, param2:Boolean = false, param3:Boolean = false, param4:uint = 0, param5:uint = 0, param6:uint = 0)
  15.       {
  16.          super(param1,param2,param3,param4,param5);
  17.          _vp = param6;
  18.       }
  19.       
  20.       override public function clone() : Event
  21.       {
  22.          return new VideoProgressEvent(type,bubbles,cancelable,bytesLoaded,bytesTotal,vp);
  23.       }
  24.       
  25.       public function set vp(param1:uint) : void
  26.       {
  27.          _vp = param1;
  28.       }
  29.       
  30.       public function get vp() : uint
  31.       {
  32.          return _vp;
  33.       }
  34.    }
  35. }
  36.